package com.fooddiary.dao;

import com.fooddiary.model.Role;

/**
 * Defines DAO methods for roles <br>
 * @author Created by andrey.kuznetsov <br>
 * @author Last modified by $Author$ <br>
 * @author Last modified on $Date$ at revision $Revision$ <br>
 */
public interface IRoleDao extends IBaseDao{
	
	/**
	 * Returns role by it name <br>
	 * @param p_roleName - name of role; {@link String}
	 * @return role; {@link Role}
	 */
	public Role getRoleByName(String p_roleName);
}
